<div class="comment_block">
    <h4><?= $this->__('Comments'); ?></h4>
    <?php
    if (count($this->comments) == 0) {
        echo '<p class="comment">No comments yet.</p>';
    } else {
        foreach ($this->comments as $k => $v) {
            $this->renderPartial("Comments/_comment.php", array('comment' => $v));
        }
    }
    
    if(\Lib\Model\UserModel::isAuth()){
        $this->renderPartial("Comments/_add_comment.php");
    }
    ?>    
</div>